package com.gigi.datageniebackendmaster.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * id 请求参数实体类
 *
 * @author Gigi
 */
@Data
public class IdRequest {

    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为空")
    private Long id;

}
